package com.lfy.modules.disk.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName disk_file
 */
@TableName(value ="disk_file")
@Data
public class DiskFileEntity implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 0-文件夹；1-音乐文件；2-视频文件；3-压缩文件；4-图片文件；5-文本文件；6-word；7-pdf；8-未知
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * md5
     */
    @TableField(value = "file_md5")
    private String fileMd5;

    /**
     * 路径
     */
    @TableField(value = "file_path")
    private String filePath;

    /**
     * MB单位
     */
    @TableField(value = "file_size")
    private Double fileSize;

    /**
     * 
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0-不隐藏；1-隐藏
     */
    @TableField(value = "is_private")
    private Integer isPrivate;

    @TableField(value = "thumbnail_image")
    private String thumbnailImage;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}